/**
 * lmabbe api 封装
 *
 * @Author:    lmabbe
 * @Date:      2025-06-26 02:18:52
 * @Copyright  lmabbe
 */
import { postRequest } from '/@/lib/axios';

export const materialBarcodeApi = {
  /**
   * 分页查询  @author  lmabbe
   */
  queryPage: (param) => {
    return postRequest('/materialBarcode/queryPage', param);
  },

  /**
   * 增加  @author  lmabbe
   */
  add: (param) => {
    return postRequest('/materialBarcode/add', param);
  },

  /**
   * 修改  @author  lmabbe
   */
  update: (param) => {
    return postRequest('/materialBarcode/update', param);
  },

  /**
   * 生成条码
   */
  generate: (param) => {
    return postRequest('/materialBarcode/generate', param);
  },
};
